package com.hxy.subject.domain.convert;

import com.hxy.subject.domain.entity.SubjectRadioBO;
import com.hxy.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/9/8 19:34
 */
@Mapper
public interface SubjectRadioConverter {
    SubjectRadioConverter INSTANCE = Mappers.getMapper(SubjectRadioConverter.class);

    SubjectRadio subjectRadioBoToRadio(SubjectRadioBO bo);

    List<SubjectRadioBO> subjectRadioToBoList(List<SubjectRadio> list);
}
